package cn.DynamicDataSource;


public enum DataSourceName{
    PRIMARYDATASOURCE("PrimaryDatasource" , "主数据源"),
    MINORDATASOURCE("MinorDatasource"     , "次数据源"),
    THIRDDATASOURCE("ThirdDatasource"     , "第三数据源");

    private final String  value;
    private final String  description;

    DataSourceName(String value, String description) {
        this.value = value;
        this.description = description;
    }

    public String getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }
}

